﻿using System.ComponentModel.DataAnnotations;

namespace SumPower.MailAccount.Web.Models
{
    public class SignInInfo
    {
        public SignInInfo()
        { }
        public SignInInfo(string userName, string password)
        {
            UserName = userName;
            Password = password;
        }
        [Required]
        [Display(Name = "用户名")]
        public string UserName { get; set; }

        [DataType(DataType.Password)]
        [Required]
        [Display(Name = "密码")]
        public string Password { get; set; }

        [Display(Name = "记住我?")]
        public bool RememberMe { get; set; }
    }

}